/*=============================================================================
  TextureManager.h : Common texture manager declarations.
  Copyright (c) 2010 Crytek Studios. All Rights Reserved.

  Revision history:
											* Created by Kenzo ter Elst
=============================================================================*/
      
#ifndef _TEXTUREMANAGER_H
#define _TEXTUREMANAGER_H

#include "CryName.h"

class CTexture;

class CTextureManager
{
public:

	CTextureManager() {}
	virtual ~CTextureManager();

	void PreloadDefaultTextures();
	void ReleaseDefaultTextures();

	const CTexture* GetDefaultTexture(const string& sTextureName) const;
	const CTexture* GetDefaultTexture(const CCryNameTSCRC& sTextureNameID) const;

private:

	typedef std::map<CCryNameTSCRC, CTexture*> TTextureMap;
	TTextureMap m_DefaultTextures;
};

#endif
